Symbiotic Expressions
نویسندگان
چکیده
We introduce symbiotic expressions, a method for algebraic simplification within a compiler, in lieu of an SMT solver, such as Yices or the Omega Calculator. Symbiotic expressions are compiler-generated expressions, temporarily injected into a program's abstract syntax tree (AST). The compiler's normal optimizations interpret and simplify those expressions, making their results available for the compiler to use as a basis for decisions about further optimization of the source program. The expressions are symbiotic in the sense that both parties benefit: an optimization benefits, by using the compiler itself to simplify expressions that have been attached, lamprey-like, to the AST by the optimization; the program being compiled benefits, from having reduced run-time and more available parallelism, due to improved optimization. We show the utility of symbiotic expressions by using them to extend the SAC compiler's With-Loop-Folding optimization, currently limited to Arrays of Known Shape (AKS), to to Arrays of Known Dimension (AKD). We show that, in conjunction with array-based constant-folding, injection and propagation of array extrema, and compiler-based expression simplification, symbiotic expressions are an effective tool for implementing advanced array optimizations. Symbiotic expressions are also simpler and more likely to be correct than hard-coded analysis, and are flexible and relatively easy to use. Finally, symbiotic expressions are synergistic: they will take immediate advantage of new or improved optimizations in the compiler. Symbiotic expressions are a useful addition to a compiler writer's toolkit, giving the compiler a restricted subset of the analysis power of an SMT solver.
منابع مشابه
Four genes of Medicago truncatula controlling components of a nod factor transduction pathway.
Rhizobium nodulation (Nod) factors are lipo-chitooligosaccharides that act as symbiotic signals, eliciting several key developmental responses in the roots of legume hosts. Using nodulation-defective mutants of Medicago truncatula, we have started to dissect the genetic control of Nod factor transduction. Mutants in four genes (DMI1, DMI2, DMI3, and NSP) were pleiotropically affected in Nod fac...
متن کاملThe effects of symbiotic therapy on anthropometric measures, body composition and blood pressure in patient with metabolic syndrome: a triple blind RCT
Background: Increase in prevalence of obesity and type 2 diabetes which are of the main risk factors of metabolic syndrome, is not only the result of changes in genetic, diet or physical activity, but also an imbalance of micro flora may play an important role. Therefore, alteration of micro flora using pre/probiotic is considered as a new strategy for treatment of metabolic disorders. Meth...
متن کاملAntibacterial Activities of Extracellular Metabolites of Symbiotic Bacteria, Xenorhabdus and Photorhabdus Isolated from Entomopathogenic Nematodes
Xenorhabdus and Photorhabdus are members of the family Enterobacteriaceae, and are engaged in a mutualistic association with the entomopathogenic nematodes, Steinernema and Heterorhabditis, respectively. In the present study, the organic fraction of ethyl acetate bacterial crude extracts of the symbiotic bacteria, Xenorhabdus stockiae and Photorhabdus luminescens isolated from entomopathogenic ...
متن کاملSymbiosis between a Multilingual Lexicon and Translation Example Banks
We propose a symbiotic framework in which correspondences between electronic multilingual lexicons and translation example banks can be captured, so that their functions and contents may benefit and improve upon one another. Several mechanisms are used for this purpose: i.) two flexible annotation schemas, S-SSTC and SSTC+L, for supporting irregular multi-level correspondences across languages;...
متن کاملSpatial variation of symbiotic Dinoflagellates on coral reefs of the northern Persian Gulf
Density, mitotic index, Chlorophyll-a content and cell size of symbiotic dinoflagellates of dominant reef-building corals were measured at two different depths in Kish Island and from one depth of Larak Island in the Persian Gulf. The higher densities of symbionts were found in shallow waters of Kish Island. However, ANOVA analyses of the mitotic index yielded mixed results. The cell sizes of s...
متن کامل